<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>MyISERN 1.3 - Report</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="ajax/prototype.js"></script>
<script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
<link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- start header -->
<div id="header">
    <div id="logo">
        <h1><a href="home.jsp">MyISERN 1.3</a></h1>
    </div>
    <div id="menu">
        <ul>
            <li><a href="home.jsp">Homepage</a></li>
            <li><a href="display.jsp">Display</a></li>
            <li><a href="add.jsp">Add</a></li>
            <li><a href="edit.jsp">Edit</a></li>
			<li class="current_page_item"><a href="sanityCheck.jsp">Report</a></li>
            <li><stripes:link href="Logout.action" event="logout" >Logout</stripes:link></li>
        </ul>
    </div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
    <!-- start leftbar -->
    <div id="leftbar" class="sidebar">
        <ul>
            <li>
                <h2>Report</h2>
                <ul>
                    <li>
                        <stripes:form id="ReportForm" action="/MyIsern.action">
                          <stripes:submit value="Sanity Check Report" name="getSanityCheckResultsList"/>
                        </stripes:form>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
    <!-- end leftbar -->
    <!-- start content -->
    <div id="content">
        <div class="post">
            <h1 class="title" align="center">Sanity Check Report</h1>
			<table>
				<tbody>
					<tr>
						<td align="center"><strong><font color="white">${actionBean.errorMessage}</font></strong></td>
					</tr>
				</tbody>
			</table>
	            <div class="entry">
					<table>
						<tbody>
							<c:forEach var="element" items="${actionBean.sanityCheckResults}">
								<tr BGCOLOR="#DDDDDD">
									<td><strong>${element}</strong></td>
								</tr>
							</c:forEach>									
						</tbody>
					</table>
				</div>
            <p class="links"><a href="http://isern.iese.de/network/ISERN/pub/isern.mail.html" class="comments">Contact Us</a></p>
        </div>
    </div>
    <!-- end content -->
    <div style="clear: both;">&nbsp;</div>
</div>
<!-- end page -->
<hr />
<div id="footer">
    <p>&copy;2007 All Rights Reserved.</p>
</div>
</body>
</html>
